import {requestService} from '/src/utils/request'

// 查询属性列表
export function getParseAttributeList(query) {
    return requestService({
        url: '/xiaozhen-system/parseAttribute/list',
        method: 'get',
        params: query
    })
}

// 新增属性信息
export function addParseAttribute(data) {
    return requestService({
        url: '/xiaozhen-system/parseAttribute/add',
        method: 'post',
        data: data
    })
}

// 修改属性信息
export function updateParseAttribute(data) {
    return requestService({
        url: '/xiaozhen-system/parseAttribute/update',
        method: 'put',
        data: data
    })
}

// 删除属性信息
export function delParseAttribute(attributeId) {
    return requestService({
        url: '/xiaozhen-system/parseAttribute/' + attributeId,
        method: 'delete'
    })
}

